import {request} from './request'
//供应商列表
export function supacc_search(data) {
    return request({
        url: '/user/supacc/search/',
        method:'get',
        params:data
    })
}

//添加
export function supacc_add(data) {
    return request({
        url: '/user/supacc/add/',
        method:'post',
        data
    })
}

//删除
export function supacc_delete(data) {
    return request({
        url: '/user/supacc/delete/',
        method:'post',
        data
    })
}

//启用禁用
export function supacc_change(data) {
    return request({
        url: '/user/supacc/change/',
        method:'post',
        data
    })
}

//导出
export function supacc_export(data) {
    return request({
        url: '/user/supacc/excel_download/',
        method:'get',
        params:data,
        responseType: 'blob'
    })
}